<?
header('HTTP/1.1 404 Not Found');
header("status: 404 Not Found");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <title>Page Not Found (404)</title>
    <style type="text/css">
        body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
        form{
            margin: 0;
            padding: 0;
        }
        li{
            margin-top: 5px;
        }
        div.dialog {
            width: 35em;
            text-align: left;
            padding: 0 4em;
            margin: 4em auto 0 auto;
            border: 1px solid #ccc;
            border-right-color: #999;
            border-bottom-color: #999;
        }
        h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
        p.tip { font-size: 12px; color: #aaa; }
    </style>
</head>

<body>
  <div class="dialog">
    <h1>Page Not Found</h1>
    <p>
        We are sorry to show this page to you. Please check if the url address is correct.<br /><br />
        You can:
        <li>Access the <a href="<?=url('/')?>">home page</a> of <?=Q::ini('appini/site/name')?>.</li>
      <li><a href="mailto:<?=Q::ini('appini/site/contactMail')?>">send email</a> for more car accessaries trading information.</li>

    </p>
    <p>&nbsp;</p>
    <p class="tip">
      <?php echo h($message); ?>
    </p>
  </div>
</body>
</html>
